package com.company.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.company.project.common.utils.DataResult;
import com.company.project.entity.SysStoreEntity;
import com.company.project.vo.req.store.CheckStoreReqVO;
import com.company.project.vo.req.store.StoreRegisterReqVO;
import com.company.project.vo.resp.store.RegisterRespVO;

/**
 * @author YangYulin
 * @email YangYulinit@163.com
 * @date 2020-07-19 19:57:33
 */
public interface SysStoreService extends IService<SysStoreEntity> {

    RegisterRespVO register(StoreRegisterReqVO vo);

    RegisterRespVO register(StoreRegisterReqVO vo, Integer status);

    boolean statusUpdate(CheckStoreReqVO vo);

    IPage<SysStoreEntity> storeArea(IPage<SysStoreEntity> iPage);

    SysStoreEntity checkStore(String storeId);

    SysStoreEntity getMyStoreInfo();
}

